projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e9d14
)
* window.c (check_frame_size): Allow minibuffer-only frames to be
author
Jim Blandy
<jimb@redhat.com>
Wed, 16 Jun 1993 21:26:47 +0000
(21:26 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Wed, 16 Jun 1993 21:26:47 +0000
(21:26 +0000)
one line high.
src/window.c
patch
|
blob
|
history
diff --git
a/src/window.c
b/src/window.c
index d3baca1d8a2d61f7c8f2ebb95536cf3b4e289fa3..d7e91560d7cc1e2aea940327f1a6d7a8b7ef177e 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-1376,9
+1376,8
@@
check_frame_size (frame, rows, cols)
/* For height, we have to see whether the frame has a minibuffer, and
whether it wants a mode line. */
int min_height =
- ((FRAME_MINIBUF_ONLY_P (frame)
- || ! FRAME_HAS_MINIBUF_P (frame))
- ? MIN_SAFE_WINDOW_HEIGHT
+ (FRAME_MINIBUF_ONLY_P (frame) ? MIN_SAFE_WINDOW_HEIGHT - 1
+ : (! FRAME_HAS_MINIBUF_P (frame)) ? MIN_SAFE_WINDOW_HEIGHT
: 2 * MIN_SAFE_WINDOW_HEIGHT - 1);
if (*rows < min_height)